//
// Quick message
// --------------------------------------------------

.quick-message-cnt {
	display: none;
	background-color: @quick-message-bg;
	position: absolute;
	left: 0;
	top: 50px;

	&.__my .quick-message-cnt_title{
		background-color: @blue-color;
	}
}

.quick-message-cnt_header {
	background-color: @quick-message-header-bg;
	height: 50px;
	position: relative;
}
.quick-message-cnt_profile {
	.profile_logo(30px);
	border-radius: 0px;
	padding: 10px;
	img {
		background-color: #fff;		
		float: left;
	}
}
.quick-message-cnt_profile_name {
	margin: 5px 0 0 45px;
	color: @orange-color;
}
.quick-message-cnt_time {	
	float: right;
	font-size: 12px;
	margin: 20px 50px 0 0;
	span {

	}
}
.quick-message-cnt_closer {
	color: @gray-light;
	cursor: pointer;
	font-size: 20px;
	position: absolute;
	top: 15px;
	right: 10px;
}

.quick-message-cnt_title {
	.container;
	background-color: @orange-color;
	height: 50px;
	padding: 0;
	margin: 0;

	img {
		height: 50px;
		width: 50px;
		float: left;
	}
}

.quick-message-cnt_title_text {
	margin-left: 60px;
	margin-top: 5px;
}

.quick-message-cnt_title_text_dsc {
	font-weight: bold;
	.text-overflow();
}

.quick-message-cnt_body {
	.clearfix;
	padding: 25px;
}

.quick-message-cnt_message {
	margin-bottom: 15px;
}

.quick-message-cnt_msg_btns-answer {
	float: left;

	width: 115px;

	button {
		width: 100%;
		padding-top: 13px;
		padding-bottom: 13px;
		margin-bottom: 15px;
	}
}
.quick-message-cnt_form {
	margin-left: 135px;

	textarea {
		resize: vertical;
		margin-bottom: 15px;
		min-height: 108px;
	}
}
.quick-message-cnt_btns-action {
	button {
		width: 21.25% !important;
		min-width: 140px;
		.make-sm-column(3, 0);
		margin-left: 5%;
		margin-top: 5px;

		&:first-child {
			margin-left: 0;
		}

	[class*="el-icon-"] {
			float: left;
			font-size: 18px;
	    margin-left: 5px;
		}
	}
}

	.quick-message-cnt_form_mob {
		display: none;
		.el-icon-comment {
			cursor: pointer;
			top: 5px;
			right: 5px;
			color: @gray-dark;
			font-size: 22px;
			position: absolute;
		}
	}



//
// List of quick messages
// ---------------------------

.quick-message-list {
	display: none;
	width: 327px;
	position: absolute;
	left: 0;
	top: 50px;
	border-right: 1px solid #333;
	border-left: 1px solid #333;

	&.__my {
		left: 50px;
		.quick-message-cnt_title,
		.quick-message-all {
			background-color: @blue-color;
		}
		.quick-message-all_counter {
	    background-color: #46a5c3;
	  }
	}

	.quick-message-cnt {
		display: block;
		position: relative;
		top: 0;
		width: 325px;
	}
	.quick-message-cnt_body {
		padding: 10px;
	}
	.quick-message-cnt_time {
		margin-right: 10px;
	}

	.quick-message-cnt_form {
		margin-left: 0;
		position: relative;
	}
	.quick-message-cnt_form_mob{
		display: block;
	}

	.quick-message-cnt_title {
		width: inherit;
	}
}

.quick-message-all{
	background-color: @orange-color;
	cursor: pointer;
  padding:10px 45px;
  position: relative;
  text-align: center;
  .el-icon-envelope{
    color: #fff;
    font-size: 28px;
    position: absolute;
    top:7px;
    left: 10px;
  }
  .quick-message-all_counter {
    background-color: #FFB270;
    font-weight: bold;
    color: #fff;
    position: absolute;
    padding: 5px;
    max-height: 35px;
    min-width: 35px;
    top:5px;
    right: 5px;
  }
}
@media (max-width: @screen-xs) {
	.quick-message-list {
		top: 100px;
		&.__my {
			top: 150px;
		}
	}
}

//
// Quick message for mobile device
// ---------------------------


@media (max-width: @screen-sm) {
	.quick-message-cnt {
		width: 325px;
	}

	.quick-message-cnt_body {
		padding: 10px;
	}
	.quick-message-cnt_time {
		margin-right: 10px;
	}
	.quick-message-cnt_closer,
	.quick-message-cnt_msg_btns-answer,
	.quick-message-cnt_btns-action {
			display: none;
		}
	.quick-message-cnt_form {
		margin-left: 0;
		position: relative;
		textarea {
			display: none;
		}
	}

	.quick-message-cnt_form_mob {
		display: block;
	}
}